﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="PurchaseTable.aspx.cs" Inherits="Auditors_PurchaseTable" %>

<%@ Register src="topnav.ascx" tagname="topnav" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
     <script>
         function GoTo(page, id, orderid) {
             window.location.href = page + "?CompanyID=" + id + "&orderid=" + orderid;
         }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <uc1:topnav ID="topnav1" runat="server" />
    <h2>
        Purchase</h2>
     <table>
        <tr style="vertical-align: top">
            <td>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound">
                    <Columns>
                        <asp:BoundField DataField="Date" HeaderText="Date" SortExpression="Date" DataFormatString="{0:dd-MM-yyyy}" />
                        <asp:BoundField DataField="VoucherNo" HeaderText="Voucher No" SortExpression="VoucherNo" />
                        <asp:BoundField DataField="PONo" HeaderText="PO number" SortExpression="PONo" />
                        <asp:BoundField DataField="Supplier" HeaderText="Supplier" SortExpression="Supplier" />
                        <asp:BoundField DataField="Offering" HeaderText="Offering" SortExpression="Offering" />
                        <asp:BoundField DataField="Currency" HeaderText="Currency" SortExpression="Currency" />
                        <asp:BoundField DataField="Amount" HeaderText="Amount" SortExpression="Amount" />
                        <asp:BoundField DataField="ex" HeaderText="Ex rate" SortExpression="ex" />
                        <asp:BoundField DataField="HKMoney" HeaderText="HK$" SortExpression="HKMoney" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>

